package com.kaishengit.pms.web;


import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;



public class AddFilesServlet extends HttpServlet {

	private static final long serialVersionUID = 1L;

	
	@Override
	protected void service(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		HttpSession session = request.getSession();
		String projectid = request.getParameter("projectid");
		String employeeid = request.getParameter("employeeid");
		System.out.println("dsd"+employeeid);
		System.out.println("dsd"+projectid);
		
		session.setAttribute("projectid", projectid);
		session.setAttribute("employeeid", employeeid);
		request.getRequestDispatcher("/WEB-INF/views/addfiles.jsp").forward(request, response);
	}
}
